home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2848 / 2848.xpi / chrome / passwordexporter.jar / content / pwdexDialog.xul < prev    next >
Extensible Markup Language  |  2009-08-04  |  8KB  |  146 lines

  1. <?xml version="1.0"?> 
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Password Exporter.
  16.    -
  17.    - The Initial Developer of the Original Code is
  18.    -    Justin Scott <fligtar@gmail.com>.
  19.    -
  20.    - Portions created by the Initial Developer are Copyright (C) 2006
  21.    - the Initial Developer. All Rights Reserved.
  22.    -
  23.    - Contributor(s): (none)
  24.    -
  25.    - Alternatively, the contents of this file may be used under the terms of
  26.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  27.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  28.    - in which case the provisions of the GPL or the LGPL are applicable instead
  29.    - of those above. If you wish to allow use of your version of this file only
  30.    - under the terms of either the GPL or the LGPL, and not to allow others to
  31.    - use your version of this file under the terms of the MPL, indicate your
  32.    - decision by deleting the provisions above and replace them with the notice
  33.    - and other provisions required by the LGPL or the GPL. If you do not delete
  34.    - the provisions above, a recipient may use your version of this file under
  35.    - the terms of any one of the MPL, the GPL or the LGPL.
  36.    -
  37.    - ***** END LICENSE BLOCK ***** -->
  38. <?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
  39. <!DOCTYPE window SYSTEM "chrome://passwordexporter/locale/passwordexporter.dtd" >
  40.  
  41. <dialog xmlns:html="http://www.w3.org/1999/xhtml"
  42.         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  43.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  44.         buttons="cancel"
  45.         title="&passwordexporter.dialog-title;"
  46.         style="width: 400px;"
  47.         id="pwdex-dialog">
  48.     
  49.     <!-- Global functions -->
  50.     <script type="application/x-javascript" src="chrome://passwordexporter/content/pwdex-global.js" />
  51.     <!-- Login Manager (Firefox 3+) -->
  52.     <script type="application/x-javascript" src="chrome://passwordexporter/content/pwdex-loginmanager.js" />
  53.     <!-- Password Manager (Firefox <= 2, Thunderbird, other) -->
  54.     <script type="application/x-javascript" src="chrome://passwordexporter/content/pwdex-passwordmanager.js" />
  55.     <!-- Legacy Storage code -->
  56.     <script type="application/x-javascript" src="chrome://passwordexporter/content/storage-Legacy.js" />
  57.     <!-- l10n -->
  58.     <script type="application/x-javascript" src="chrome://global/content/strres.js" />
  59.     
  60.     <vbox flex="1" id="pwdex-tabpanel">
  61.         <groupbox>
  62.             <caption label="&passwordexporter.export-saved-caption;" />
  63.             <description flex="1">&passwordexporter.export-saved-desc;</description>
  64.             <vbox align="right">
  65.                 <hbox>
  66.                     <checkbox label="&passwordexporter.export-saved-encrypt;"
  67.                               id="pwdex-encrypt"
  68.                               accesskey="&passwordexporter.export-saved-encrypt-accesskey;" />
  69.                     <button label="&passwordexporter.export-saved-button;"
  70.                             id="pwdex-export-btn"
  71.                             accesskey="&passwordexporter.export-saved-button-accesskey;"
  72.                             oncommand="passwordExporter.export.start();" />
  73.                 </hbox>
  74.             </vbox>
  75.         </groupbox>
  76.     
  77.         <groupbox>
  78.             <caption label="&passwordexporter.import-saved-caption;" />
  79.             <description flex="1">&passwordexporter.import-saved-desc;</description>
  80.             <vbox>
  81.                 <hbox>
  82.                     <vbox id="pwdex-import-underway" hidden="true">
  83.                         <hbox>
  84.                             <progressmeter id="pwdex-import-progress"
  85.                                            mode="determined" value="0" />
  86.                             <label id="pwdex-import-status" value="" />
  87.                         </hbox>
  88.                         <hbox id="pwdex-import-cancel" hidden="true">
  89.                             <label value="&passwordexporter.import-cancel;"
  90.                                    class="text-link"
  91.                                    onclick="passwordExporter.import.cancel();" /> 
  92.                         </hbox>
  93.                         <hbox id="pwdex-import-finished" hidden="true">
  94.                             <label id="pwdex-import-complete"
  95.                                    value="&passwordexporter.import-complete;"
  96.                                    hidden="true"
  97.                                    style="font-weight: bold;" />
  98.                             <label id="pwdex-import-cancelled"
  99.                                    value="&passwordexporter.import-cancelled;"
  100.                                    hidden="true"
  101.                                    style="font-weight: bold;" />
  102.                             <label id="pwdex-import-view-details"
  103.                                    value="&passwordexporter.view-details;"
  104.                                    hidden="true"
  105.                                    class="text-link"
  106.                                    onclick="passwordExporter.import.showDetailsWindow();" />
  107.                         </hbox>
  108.                     </vbox>
  109.                     <spacer flex="3" />
  110.                     <button label="&passwordexporter.import-saved-button;"
  111.                             id="pwdex-import-btn"
  112.                             accesskey="&passwordexporter.import-saved-button-accesskey;"
  113.                             oncommand="passwordExporter.import.start();" />
  114.                 </hbox>
  115.             </vbox>
  116.         </groupbox>
  117.     
  118.         <groupbox>
  119.             <caption label="&passwordexporter.rejected-caption;" />
  120.             <description flex="1">&passwordexporter.rejected-desc;</description>
  121.             <vbox align="right">
  122.                 <hbox>
  123.                     <button label="&passwordexporter.rejected-export-button;"
  124.                             id="pwdex-export-never-btn"
  125.                             accesskey="&passwordexporter.rejected-export-button-accesskey;"
  126.                             oncommand="passwordExporter.export.disabled.start();" />
  127.                     <button label="&passwordexporter.rejected-import-button;"
  128.                             id="pwdex-import-never-btn"
  129.                             accesskey="&passwordexporter.rejected-import-button-accesskey;"
  130.                             oncommand="passwordExporter.import.disabled.start();" />
  131.                 </hbox>
  132.             </vbox>
  133.         </groupbox>
  134.     </vbox>
  135.     
  136.     <hbox>
  137.         <button label="&passwordexporter.view-passwords;"
  138.                 accesskey="&passwordexporter.view-passwords-accesskey;"
  139.                 id="pwdex-view-passwords"
  140.                 oncommand="passwordExporter.viewPasswords();" />
  141.         <spacer flex="5" />
  142.         <button label="&passwordexporter.close-label;"
  143.                 id="pwdex-close"
  144.                 dlgtype="cancel" />
  145.     </hbox>
  146. </dialog>